package com.fc.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ExpenseDTO {

    private Long id;
    private Long logisticsId;
    private String vehiclePlate;//车辆车牌号

    private BigDecimal fuel;//油费
    private BigDecimal urea;//尿素费用
    private BigDecimal washing;//洗车费用
    private BigDecimal repair;//维修费用
    private BigDecimal maintenance;//保养费用
    private BigDecimal tire;//补胎费用
    private BigDecimal temporary;//临时过路费

    // 指定 JSON 字段处理器
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> imagePaths;//图片路径集合

}
